package com.quandou.base.security.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.quandou.base.security.entity.QdAuthority;

import java.util.List;

public interface QdAuthorityService extends IService<QdAuthority> {
    List<QdAuthority> findAuthorityByUserId(Integer userId);

    QdAuthority findByUrlAndMethod(String url, String method);
}
